<%@include file="../header.jsp"%>

<!-- start content-outer -->
<div id="content-outer"><!-- start content -->
<div id="content">
<div id="page-heading">
<h1>Status TA Mahasiswa - ${idUser}</h1>
</div>
<table id="content-table" border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowleft.jpg" alt="" height="300" width="20" /></th>
<th class="topleft"></th>
<td id="tbl-border-top">&nbsp;</td>
<th class="topright"></th>
<th rowspan="3" class="sized"><img src="images/shared/side_shadowright.jpg" alt="" height="300" width="20" /></th>
</tr>
<tr>
<td id="tbl-border-left"></td>
<td><!-- start content-table-inner -->
<div id="content-table-inner">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr valign="top">
<td>
<!-- start step-holder -->
<!-- end step-holder -->

<!-- start id-form -->
<c:if test="${jenisSidang == null}">
<div id="step-holder">
<div class="step-no">1</div>
<div class="step-dark-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}">Info TA</a></div>
<div class="step-dark-right">&nbsp;</div>
<div class="step-no-off">2</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG PROPOSAL">Detail Proposal</a></div>
<div class="step-light-right">&nbsp;</div>
<div class="step-no-off">4</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG FINAL">Detail Final</a></div>
<div class="step-light-round">&nbsp;</div>
<div class="clear"></div>
</div>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
   <th valign="top">Nama</th>
   <td valign="middle" align="center">:</td>
   <td>${detailDataTA.user.namaUser}</td>
   <td width="315" ></td>
   <th width="130" valign="top">Jumlah bimbingan</th>
   <td width="29" valign="middle" align="center">:</td>
   <td>${jlhBimbingan} kali</td>
   <td width="315" ></td>
</tr>
<tr>
   <th valign="top">NRP</th>
   <td valign="middle" align="center">:</td>
   <td>${detailDataTA.user.idUser}</td>
   <td width="315" ></td>
   <th width="130" valign="top">Lama Pengerjaan</th>
   <td width="29" valign="middle" align="center">:</td>
   <td width="60">${lamaPengerjaan} bulan</td>
</tr>
<tr>
    <th width="130" valign="top">Judul</th>
    <td width="29" valign="middle" align="center">:</td>
    <td width="275">${detailDataTA.judul}</td>
    <td width="315" ></td> 
</tr>           
<tr>
    <th valign="top">Pembimbing 1</th>
    <td valign="middle" align="center">:</td>
    <td>
    <c:forEach items="${listPembimbing1}" var="listPembimbing1" >
    <c:if test="${(listPembimbing1.user.idUser == detailDataTA.pembimbing1)}">
       ${listPembimbing1.user.namaUser}
    </c:if>
    </c:forEach>
    </td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Pembimbing 2</th>
    <td valign="middle" align="center">:</td>
    <td>
    <c:if test="${(detailDataTA.pembimbing2 != '0')}">
    <c:forEach items="${listPembimbing2}" var="listPembimbing2" >
    <c:if test="${(listPembimbing2.user.idUser == detailDataTA.pembimbing2)}">
       ${listPembimbing2.user.namaUser}
    </c:if>
    </c:forEach>
    </c:if>
    <c:if test="${(detailDataTA.pembimbing2 != null)}">${detailDataTA.pembimbingLuar}</c:if>
    <c:if test="${(detailDataTA.pembimbing2 == '0' && detailDataTA.pembimbingLuar == null)}"><font color="red">-</font></c:if>
    </td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Lab</th>
    <td valign="middle" align="center">:</td>
    <td>${detailDataTA.namaLab}</td>
    <td width="315" ></td>
</tr>
</tbody>
</table>
</c:if>
<c:if test="${jenisSidang == 'SIDANG PROPOSAL'}">
<div id="step-holder">
<div class="step-no-off">1</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}">Info TA</a></div>
<div class="step-light-right">&nbsp;</div>
<div class="step-no">2</div>
<div class="step-dark-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG PROPOSAL">Detail Proposal</a></div>
<div class="step-dark-right">&nbsp;</div>
<div class="step-no-off">4</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG FINAL">Detail Final</a></div>
<div class="step-light-round">&nbsp;</div>
<div class="clear"></div>
</div>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
   <th valign="top">Pembimbing 1</th>
   <td valign="middle" align="center">:</td>
   <td>
   <c:forEach items="${listPembimbing1}" var="listPembimbing1" >
   <c:if test="${(listPembimbing1.user.idUser == detailDataTA.pembimbing1)}">
   ${listPembimbing1.user.namaUser}
   </c:if>
   </c:forEach>
   </td>
   <td width="315" ></td>
   <th valign="top">Status Sidang</th>
   <td valign="middle" align="center">:</td>
   <td>${detailSidang.statusSidang}</td>
   <td width="315" ></td>
</tr>
<tr>
   <th valign="top">Pembimbing 2</th>
   <td valign="middle" align="center">:</td>
   <td>
    <c:if test="${(detailDataTA.pembimbing2 != '0')}">
    <c:forEach items="${listPembimbing2}" var="listPembimbing2" >
    <c:if test="${(listPembimbing2.user.idUser == detailDataTA.pembimbing2)}">
        ${listPembimbing2.user.namaUser}
    </c:if>
    </c:forEach>
    </c:if>
    <c:if test="${(detailDataTA.pembimbing2 != null)}">${detailDataTA.pembimbingLuar}</c:if>
    <c:if test="${(detailDataTA.pembimbing2 == '0' && detailDataTA.pembimbingLuar == null)}"><font color="red">-</font></c:if>
   </td>
   <td width="315" ></td>
</tr>
<tr>
    <th width="130" valign="top">Tanggal Sidang</th>
    <td width="29" valign="middle" align="center">:</td>
    <td width="275">
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.tglSidang}
    </td>
    <td width="315" ></td>
</tr>           
<tr>
    <th valign="top">Waktu</th>
    <td valign="middle" align="center">:</td>
    <td width="275">
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.wktSidang}
    </td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Tempat</th>
    <td valign="middle" align="center">:</td>
    <td width="275">
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.tempatSidang}
    </td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Penguji 1 </th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        <c:forEach items="${listPenguji1}" var="listPenguji1">
        <c:if test="${(listPenguji1.user.idUser == detailSidang.penguji1)}">
        ${listPenguji1.user.namaUser}
        </c:if>
        </c:forEach>
    </td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Penguji 2 </th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        <c:if test="${(detailSidang.penguji2 == '0')}"><font color="red">-</font></c:if>
        <c:forEach items="${listPenguji2}" var="listPenguji2">
        <c:if test="${(listPenguji2.user.idUser == detailSidang.penguji2)}">
        ${listPenguji2.user.namaUser}
        </c:if>
        </c:forEach>
    </td>
    <td width="315" ></td>
</tr>
</tbody>
</table>
</c:if>
<c:if test="${jenisSidang == 'SIDANG FINAL'}">
<div id="step-holder">
<div class="step-no-off">1</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}">Info TA</a></div>
<div class="step-light-right">&nbsp;</div>
<div class="step-no-off">2</div>
<div class="step-light-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG PROPOSAL">Detail Proposal</a></div>
<div class="step-light-right">&nbsp;</div>
<div class="step-no">4</div>
<div class="step-dark-left"><a href="SidangTAController?page=statusTA&&idUser=${idUser}&&jenisSidang=SIDANG FINAL">Detail Final</a></div>
<div class="step-light-round">&nbsp;</div>
<div class="clear"></div>
</div>
<table id="id-form" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
   <th valign="top">Pembimbing 1</th>
   <td valign="middle" align="center">:</td>
   <c:forEach items="${listPembimbing1}" var="listPembimbing1" >
   <c:if test="${(listPembimbing1.user.idUser == detailDataTA.pembimbing1)}">
       <td>${listPembimbing1.user.namaUser}</td>
   </c:if>
   </c:forEach>
   <td width="315" ></td>
   <th valign="top">Nilai Pembimbing 1</th>
   <td valign="middle" align="center">:</td>
   <td>${detailSidang.nilaiPembimbing1}</td>
   <td width="315" ></td>
</tr>
<tr>
   <th valign="top">Pembimbing 2</th>
   <td valign="middle" align="center">:</td>
   <td>
   <c:if test="${(detailDataTA.pembimbing2 != '0')}">
    <c:forEach items="${listPembimbing2}" var="listPembimbing2" >
    <c:if test="${(listPembimbing2.user.idUser == detailDataTA.pembimbing2)}">
       ${listPembimbing2.user.namaUser}
    </c:if>
    </c:forEach>
    </c:if>
    <c:if test="${(detailDataTA.pembimbing2 != null)}">${detailDataTA.pembimbingLuar}</c:if>
    <c:if test="${(detailDataTA.pembimbing2 == '0' && detailDataTA.pembimbingLuar == null)}"><font color="red">-</font></c:if>
   </td>
   <td width="315" ></td>
   <th valign="top">Nilai Pembimbing 2</th>
   <td valign="middle" align="center">:</td>
   <td>${detailSidang.nilaiPembimbing2}</td>
   <td width="315" ></td>
</tr>
<tr>
    <th width="130" valign="top">Tanggal</th>
    <td width="29" valign="middle" align="center">:</td>
    <td width="275">
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.tglSidang}
    </td>
    <td width="315" ></td>
    <th valign="top">Nilai Penguji 1</th>
    <td valign="middle" align="center">:</td>
    <td>${detailSidang.nilaiPenguji1}</td>
    <td width="315" ></td>
</tr>           
<tr>
    <th valign="top">Waktu</th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.wktSidang}
    </td>
    <td width="315" ></td>
    <th valign="top">Nilai Penguji 2</th>
    <td valign="middle" align="center">:</td>
    <td>${detailSidang.nilaiPenguji2}</td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Tempat</th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        ${detailSidang.tempatSidang}
    </td>
    <td width="315" ></td>
    <th valign="top">Status Sidang</th>
    <td valign="middle" align="center">:</td>
    <td>${detailSidang.statusSidang}</td>
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Penguji 1 </th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        <c:forEach items="${listPenguji1}" var="listPenguji1">
        <c:if test="${(listPenguji1.user.idUser == detailSidang.penguji1)}">
        ${listPenguji1.user.namaUser}
        </c:if>
        </c:forEach>
    </td>
    <td width="315" ></td>
    
    <td width="315" ></td>
</tr>
<tr>
    <th valign="top">Penguji 2 </th>
    <td valign="middle" align="center">:</td>
    <td>
        <c:if test="${(detailSidang.tglSidang == null)}"><font color="red">BELUM DITENTUKAN</font></c:if>
        <c:if test="${(detailSidang.penguji2 == '0')}"><font color="red">-</font></c:if>
        <c:forEach items="${listPenguji2}" var="listPenguji2">
        <c:if test="${(listPenguji2.user.idUser == detailSidang.penguji2)}">
        ${listPenguji2.user.namaUser}
        </c:if>
        </c:forEach>
    </td>
</tr>
</tbody>
</form></table>
<!-- end id-form --> </td>
<td><!-- start related-activities --><!-- end related-activities --></td>
</tr>
<tr>
<td><img src="images/shared/blank.gif" alt="blank" height="1" width="695" /></td>
<td></td>
</tr>
</tbody>
</table>
<div class="clear"></div>
</div>
<!-- end content-table-inner -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
<th class="sized bottomleft"></th>
<td id="tbl-border-bottom">&nbsp;</td>
<th class="sized bottomright"></th>
</tr>
</tbody>
</table>
</c:if>
<div class="clear">&nbsp;</div>
</div>
<!-- end content -->
<div class="clear">&nbsp;</div>
</div>
<!-- end content-outer -->
<div class="clear">&nbsp;</div>
<!-- start footer -->
<div id="footer"><!-- start footer-left -->
<div id="footer-left"> Admin Skin © Copyright Internet
Dreams Ltd. <a href="">www.netdreams.co.uk</a>. All
rights reserved.</div>
<!-- end footer-left -->
<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
</body></html>